package com.jader.beans;

import java.io.Serializable;

public class LunTan_JianDing_xianshi implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	LunTan_jianding_Bens lunTan_jianding_Bens = new LunTan_jianding_Bens();
	User userBens = new User();
	PriceBens priceBens = new PriceBens();

	public LunTan_JianDing_xianshi() {
		super();
	}

	public LunTan_JianDing_xianshi(LunTan_jianding_Bens lunTan_jianding_Bens,
			User userBens, PriceBens priceBens) {
		super();
		this.lunTan_jianding_Bens = lunTan_jianding_Bens;
		this.userBens = userBens;
		this.priceBens = priceBens;
	}

	public LunTan_jianding_Bens getLunTan_jianding_Bens() {
		return lunTan_jianding_Bens;
	}

	public void setLunTan_jianding_Bens(
			LunTan_jianding_Bens lunTan_jianding_Bens) {
		this.lunTan_jianding_Bens = lunTan_jianding_Bens;
	}

	public User getUserBens() {
		return userBens;
	}

	public void setUserBens(User userBens) {
		this.userBens = userBens;
	}

	public PriceBens getPriceBens() {
		return priceBens;
	}

	public void setPriceBens(PriceBens priceBens) {
		this.priceBens = priceBens;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime
				* result
				+ ((lunTan_jianding_Bens == null) ? 0 : lunTan_jianding_Bens
						.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		LunTan_JianDing_xianshi other = (LunTan_JianDing_xianshi) obj;
		if (lunTan_jianding_Bens == null) {
			if (other.lunTan_jianding_Bens != null)
				return false;
		} else if (!lunTan_jianding_Bens.equals(other.lunTan_jianding_Bens))
			return false;
		return true;
	}

}
